package com.hz.basic.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * 
 * @author tongxiaowu
 * @email 15755337992@163.com
 * @date 2021-04-07 12:44:31
 */
@Data
@TableName("hz_cb_stiff_unit")
public class CbStiffUnitEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 单元id
	 */
	@TableId
	@ApiModelProperty(value = "单元id", dataType = "Long")
	private Long id;
	/**
	 * 单元名称
	 */
	@ApiModelProperty(value = "单元名称", dataType = "Long")
	private String name;
	/**
	 * 重要提示
	 */
	@ApiModelProperty(value = "重要提示", dataType = "String")
	private String tip;
	/**
	 * 单元顺序
	 */
	@ApiModelProperty(value = "单元顺序", dataType = "Integer")
	private Integer uorder;
	/**
	 * 硬笔书id
	 */
	@ApiModelProperty(value = "硬笔书id", dataType = "Long")
	private Long bid;
	/**
	 * 章节list
	 */
	@ApiModelProperty(value = "章节list", dataType = "List<CbChapterEntity>")
	@TableField(exist = false)
	private List<CbStiffChapterEntity> chapters;

}
